home *** CD-ROM | disk | FTP | other *** search
- comment ***** KERMIT.CLI.PROTO *****
-
- comment This is a prototype version of a KERMIT.CLI macro.
- comment It is provided with revision 5.l84 of C-Kermit for AOS/VS.
- comment It assumes that CKERMIT.INI and KERMIT.PR exist -- at
- comment least as links -- in :UTIL. If this is not the case,
- comment you should modify this macro so that it accurately
- comment reflects the AOS/VS Kermit configuration on your
- comment system.
-
- push
- prompt pop
-
- comment Replace :util with name of directory where kermit resides
- sea :util [!sea]
-
- comment The XLT characteristic must be turned off or file transfers
- comment may fail
- characteristics/off/xlt
-
- comment Look for ckermit.ini -- first in home directory,
- comment then in :UTIL. The first one found is what will be used.
- [!nequal,[!pathname :udd:[!user]:ckermit.ini],]
- write Starting Kermit with :UDD:[!USER]:CKERMIT.INI[!ascii 15]
- xeq kermit%0/% %1-%
- [!else]
- [!nequal,[!pathname :util:ckermit.ini],]
- write Starting Kermit with :UTIL:CKERMIT.INI[!ascii 15]
- x kermit%0/% -y [!path CKERMIT.INI] %1-%
- [!else]
- write Starting Kermit without CKERMIT.INI.[!ascii 15]
- x kermit%0/% %1-%
- [!end]
- [!end]
-
- pop
-